import Vue from 'vue'
import VueRouter from 'vue-router'
import App from './App.vue'
import router from './router'
import { Header } from 'mint-ui'
Vue.component(Header.name, Header)
import 'mint-ui/lib/style.css'  //引入mint-ui样式
import '../lib/mui-master/dist/css/mui.min.css'  //引入mui样式
import '../lib/mui-master/examples/hello-mui/css/icons-extra.css'
import { Swipe, SwipeItem } from 'mint-ui'
import VueResource from 'vue-resource' 
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem)
Vue.use(VueRouter)
Vue.use(VueResource)
var vm = new Vue({
    data:{

    },
    // render(c){
    //     return c(app)
    // },
    router,
    components:{
        App
    }
}).$mount("#app")